<table style="width: 100%;" cellpadding="4" cellspacing="0">
<tr>
    <td class="border2">
        <table style="width: 100%;" class="mainmenu5" cellpadding="0" cellspacing="0" border="0">
        <tr>
            <td width="7"><img src="design/pic/spacer.gif" class="sqr1" alt="" height="7" width="7" /></td>
            <td class="block_header">{language text="post_topic_143"}</td>
        </tr>
        </table>

        <br />

        {$jsValMess}
        {messages block='ForumTopicPost'}

        <form method="post" action="{$sUrl}" style="margin:0px;">
        {if $aFormHidden}
        {foreach from=$aFormHidden item=item key=key}
        <input type="hidden" name="{$key}" value="{$item}">
        {/foreach}
        {/if}
        <div style="padding:30px;font-size:10pt;" class="color">
        {if !$bHideSubject}
        <div style="padding-bottom:8px;">
            {language text="subject"}
            <div style="padding:5px;"><input type="text" name="title" maxlength="50" size="35" value="{$sTitle}" onfocus="this.className='inputmain';" onblur="this.className='';" /></div>
        </div>
        {/if}

        {if $bShowType}
        <div style="padding-bottom:8px;">
            {language text="forum_type"}
            <div style="padding:5px;">
            <select name="forum_type">
                {html_options options=$aForumType selected=$aTopic.forum_type}
            </select>
            </div>
        </div>
        {/if}

        <div style="padding-bottom:8px;">
            {language text="message"}
                <span style="padding-left:10px;">
                 <a class="link_action" href="javascript:void(0);" onclick="popUp2('{url link=public.popup.htmlguide}','500','500','yes','200','100');">[ {language text="html_guide"} ]</a>
                </span>
            <div style="padding:5px;">
            <textarea cols="65" rows="20" name="text" id="maintext" onfocus="this.className='textarea';" onblur="this.className='';">{$sText}</textarea>
            {include file="$sMainTemplatePath/_blocks/smilies.html"}
            </div>
            </div>
        </div>
        <div style="padding-bottom:8px;">
            <div style="padding:5px;"><input type="submit" name="act[{$sAction}]" value=" {language text="submit_topic"} " style="cursor:pointer;" class="mainmenu6" onmouseover="this.className='mainmenu7';" onmouseout="this.className='mainmenu6';" /></div>
        </div>

        </form>
    </td>
</tr>
</table>
<br/>